import yaml
from utils.handle_path import PollyPath

def get_yaml_data(yaml_file):
    with open(yaml_file,'r',encoding='UTF-8') as file:
        return yaml.safe_load(file.read())
if __name__ == '__main__':
    from pprint import pprint
    pprint(get_yaml_data(PollyPath.configs_path / 'allelements.yaml'))